import axios from "axios";

export async function getMovieList(page, size) {
 const info=await axios.get("/api/movies", {
    params: {
      page,
      size,
    },
  });
  
  return info.data;
}
